package com.hyq.learn.rabbitmq;

import org.springframework.boot.Banner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author heyuqin
 * @date 2024/8/20 16:50
 */
@SpringBootApplication(scanBasePackages = {"com.hyq.learn"})
@EnableAsync
public class RabbitMqApplication {
    public static void main(String[] args) {
        new SpringApplicationBuilder()
                .bannerMode(Banner.Mode.OFF)
                .sources(RabbitMqApplication.class)
                .run(args);
    }
}
